package com.me.modules.chg.service;

import com.me.modules.chg.entity.ChangeInfoEntity;
import com.me.modules.common.page.Page;

import java.util.List;
import java.util.Map;

/**
 * 变更工单信息
 *
 * @author lill
 * @email lill5270@163.com
 * @date 2019-01-14 13:54:06
 */
public interface ChangeInfoService {

	ChangeInfoEntity queryObject(Long id);

	List<ChangeInfoEntity> queryList(Map<String, Object> map);

    List<ChangeInfoEntity> queryListByBean(ChangeInfoEntity entity);

	int queryTotal(Map<String, Object> map);

	int save(ChangeInfoEntity changeInfo);

	int update(ChangeInfoEntity changeInfo);

	int delete(Long id);

	int deleteBatch(Long[] ids);


	Page<ChangeInfoEntity> findPage(ChangeInfoEntity changeInfo, int pageNum);
}
